.am-dialog-mask:not([am-version]) {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.am-dialog-mask:not([am-version]).show {
  display: block;
}
.am-dialog:not([am-version]) {
  display: none;
  position: absolute;
  -webkit-box-sizing: border-box;
  margin: 10rem auto;
  width: 100%;
  top: 45%;
  left: 0;
  padding: 0 2rem;
  margin-top: -8rem;
}
.am-dialog:not([am-version]).show {
  display: block;
}
.am-dialog:not([am-version]) .am-dialog-wrap {
  padding-top: 1.6rem;
  max-width: 27rem;
  margin: 0 auto;
  border-radius: 0.7rem;
  -webkit-background-clip: padding-box;
  background-color: #F8F8F8;
}
.am-dialog:not([am-version]) .am-dialog-header {
  -webkit-box-sizing: border-box;
}
.am-dialog:not([am-version]) .am-dialog-header h3 {
  font-size: 1.7rem;
  line-height: 4rem;
  text-align: center;
  color: #000;
  font-weight: 200;
}
.am-dialog:not([am-version]) .am-dialog-close {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  height: 4.2rem;
  width: 4.2rem;
  background: url("") no-repeat center;
  background-size: 1.5rem 1.5rem;
}
.am-dialog:not([am-version]) .am-dialog-img {
  position: relative;
  margin: 0 auto;
  padding: 4rem 0 0;
  text-align: center;
}
.am-dialog:not([am-version]) .am-dialog-img img {
  display: inline-block;
  width: 13.5rem;
  height: 13.5rem;
}
.am-dialog:not([am-version]) .am-dialog-header + .am-dialog-img {
  padding: 1.5rem 0 0;
}
.am-dialog:not([am-version]) .am-dialog-header + .am-dialog-img:before {
  content: " ";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 0;
  left: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  box-sizing: border-box;
  border-top: 1px solid #E5E5E5;
}
.am-dialog:not([am-version]) .am-dialog-body {
  -webkit-box-sizing: border-box;
  padding: 1rem 1rem 0;
}
.am-dialog:not([am-version]) .am-dialog-body .am-dialog-brief {
  display: block;
  font-size: 13px;
  line-height: 21px;
  text-align: center;
  color: #000;
}
.am-dialog:not([am-version]) .am-dialog-footer {
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  display: -webkit-box;
  display: -webkit-flex;
}
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  display: block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  font-size: 16px;
  background: none;
  border: 0 none;
  outline: 0 none;
  border-left: 1px solid #ddd;
  -webkit-appearance: none;
  padding: 0;
  color: #0ae;
  text-align: center;
}
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button:first-child {
  border-left: 0 none;
  border-bottom-left-radius: 0.7rem;
}
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button:last-child {
  border-bottom-right-radius: 0.7rem;
}
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button:disabled {
  color: #c2c2c2;
}
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button:active,
.am-dialog:not([am-version]) .am-dialog-footer .am-dialog-button.hover {
  background-color: #DDDDDD;
}
.am-dialog:not([am-version]) .am-dialog-footer.selection {
  display: block;
}
.am-dialog:not([am-version]) .am-dialog-footer.selection .am-dialog-button {
  display: block;
  border-top: 1px solid #ddd;
  border-left: 0 none ;
}
.am-dialog:not([am-version]) .am-dialog-footer.selection .am-dialog-button:first-child {
  border-top: 0 none;
  border-radius: 0;
}
.am-dialog:not([am-version]) .am-dialog-footer.selection .am-dialog-button:last-child {
  border-bottom-left-radius: 0.7rem;
}
.am-dialog:not([am-version]) .am-dialog-body input:focus {
  border-color: #fa0;
}
.am-dialog:not([am-version]) .am-dialog-body input.am-password-former {
  -webkit-box-sizing: border-box;
  display: block;
  width: 100%;
  height: 4.4rem;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  -webkit-background-clip: padding-box;
  margin-top: 1.3rem;
  padding: 1.3rem 0.5rem 1.1rem;
  -webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  line-height: 2rem;
}
.am-dialog:not([am-version]).simage {
  margin-top: -13rem;
}
.am-dialog:not([am-version]).simage .am-dialog-wrap {
  padding-top: 0;
}
.am-dialog:not([am-version]).simage .am-dialog-img {
  padding-top: 2rem;
}
.am-dialog:not([am-version]).simage .am-dialog-img img {
  width: 9rem;
  height: 9rem;
}
.am-dialog:not([am-version]).image {
  margin-top: -15rem;
}
.am-dialog:not([am-version]).image .am-dialog-wrap {
  position: relative;
  padding-top: 0;
}
.am-dialog:not([am-version]).image .am-dialog-header h3 {
  line-height: 4.5rem;
}
.am-dialog:not([am-version]).image .am-dialog-footer {
  padding: 1.5rem;
  border: 0 none;
  margin-top: 0.5rem;
}
.am-dialog:not([am-version]).image .am-dialog-outlink {
  display: block;
  font-size: 1.3rem;
  text-align: center;
  padding-top: 0.5rem;
}
.am-dialog:not([am-version]).image .am-dialog-img + .am-dialog-header h3,
.am-dialog:not([am-version]).simage .am-dialog-img + .am-dialog-header h3 {
  line-height: 2rem;
  padding-top: 1rem;
}
